package com.ctshk.rpc.finance.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 财务挂账信息
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_on_account")
@ApiModel(value="FinanceOnAccount对象", description="财务挂账信息")
public class FinanceOnAccount extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账户类型1 大客户/代理商挂账,2 内部中心挂账,3 集团公司挂账")
    private Integer accountType;

    @ApiModelProperty(value = "账户ID")
    private Long accountId;

    @ApiModelProperty(value = "账户名称")
    private String accountName;

    @ApiModelProperty(value = "联系人")
    private String contactName;

    @ApiModelProperty(value = "联系电话")
    private String contactMobile;

    @ApiModelProperty(value = "邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "地址")
    private String location;

    @ApiModelProperty(value = "银行账户")
    private String bankAccount;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "部门code")
    private String deptCode;

    @ApiModelProperty(value = "有效时间")
    private LocalDateTime effectiveTime;

    @ApiModelProperty(value = "业务类型list")
    private String businessTypeList;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
